package com.findyou.entity;

/**
 * @Title: User
 * @Author 贾金博
 * @Package com.findyou.entity
 * @Date 2024/9/6 上午8:43
 * @description: 用户的bean
 */
public class User {
    int id;
    String username;

    public User() {
    }

    public User(int id, String username) {
        this.id = id;
        this.username = username;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String toString() {
        return "User{id = " + id + ", username = " + username + "}";
    }
}
